package demo.tessss.mailtests;

import demo.BlogUserApplication;
import demo.common.utils.MailUtil;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest(classes = BlogUserApplication.class)
public class Mail {

    @Autowired
    MailUtil mailUtil;

    @Test
    void sendMail() {
        mailUtil.setMailSender("tangdeyx2333@163.com", "ee", "ee");
    }
}
